package com.gwtapps.messenger.client;

import java.util.ArrayList;

import com.google.gwt.user.client.rpc.RemoteService;
import com.gwtapps.messenger.client.model.Contact;
import com.gwtapps.messenger.client.model.Message;

public interface MessengerService extends RemoteService
{
	void signIn( String name, int gridx, int gridy, int direction, int charPosOnMapX,int charPosOnMapY, int healt );
	void signOut();
	void changeLocation(int newGridx,int newGridy);
	void hit(Contact to);
	/**
	 * @gwt.typeArgs <com.gwtapps.messenger.client.Event>
	 */
	ArrayList<Object> getEvents();
	void sendMessage( Contact to, Message message );
	void hitOccurred(String hitman,String receiver);
}
